export default {
  namespaced: true,
  state: () => ({
    user: {},
    token: ""
  }),
  mutations: {
    set(state, obj) {
      state.user = obj.user;
      state.token = obj.token;
    }
  }
};
